import React from "react";

class Card extends React.Component {
    render() {
        return <div className="home-card">
            <p>{this.props.title}</p>
            <h1>{(this.props.value).toLocaleString()}</h1>
        </div>;
    }
}

export default Card;